/**
 * 
 */
package com.lanswon.qzsmk.service.appManageService;

import java.util.Date;

import com.lanswon.qzsmk.model.FeeRules;
import com.lanswon.qzsmk.vo.FeeRulesVo;
import com.lanswon.qzsmk.vo.ResultVo;

/**
 * 应用收费定义
 * 
 * @author sun
 *
 */
public interface AppFeeService {

	/**
	 * 分页显示应用收费定义
	 * @param vo
	 * @return
	 */
	ResultVo showAppFeeList(FeeRulesVo vo);
	
	/**
	 * 添加规则
	 * @param vo
	 */
	ResultVo addAppFeeRule(FeeRulesVo vo);
	
	/**
	 * 修改规则
	 * @param vo
	 */
	ResultVo modifyAppFeeRule(FeeRulesVo vo);
	
	/**
	 * 通过收费明细Id查询信息
	 * @param feeRulesId
	 * @return
	 */
	FeeRulesVo queryFeeByFeeRulesId(String feeRulesId);
	
	/**
	 * 验证是否失效
	 * @param validStartDate
	 * @param validEndDate
	 * @return
	 */
	String checkIsActivate(Date validStartDate, Date validEndDate);
	
	/**
	 * 根据卡产品code和费用类型查询
	 * @param vo
	 * @return
	 */
	FeeRules queryFeeRulesByCardPCodeAndFeeType(FeeRulesVo vo);
}
